package com.edu.view;

import com.edu.ViewResult;

import java.io.IOException;

public class ContentViewResult extends ViewResult{

    private Object data;

    @Override
    public void execute() {
        try {
            getResponse().getWriter().println(data.toString());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
